package com.freewater.cargotracker.infrastructure.persistence.mybatis.dbobject;

import java.time.LocalDateTime;

public class CarrierMovementPO {

    private Long id;
    private Long voyageId;
    private LocationPO departureLocation;
    private LocalDateTime departureTime;
    private LocationPO arrivalLocation;
    private LocalDateTime arrivalTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getVoyageId() {
        return voyageId;
    }

    public void setVoyageId(Long voyageId) {
        this.voyageId = voyageId;
    }

    public LocationPO getDepartureLocation() {
        return departureLocation;
    }

    public void setDepartureLocation(LocationPO departureLocation) {
        this.departureLocation = departureLocation;
    }

    public LocalDateTime getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(LocalDateTime departureTime) {
        this.departureTime = departureTime;
    }

    public LocationPO getArrivalLocation() {
        return arrivalLocation;
    }

    public void setArrivalLocation(LocationPO arrivalLocation) {
        this.arrivalLocation = arrivalLocation;
    }

    public LocalDateTime getArrivalTime() {
        return arrivalTime;
    }

    public void setArrivalTime(LocalDateTime arrivalTime) {
        this.arrivalTime = arrivalTime;
    }
}
